package com.taoyige.bean;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * 实体基类
 * @author peter
 * @version 1.0
 * @created 2014-11-13
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public abstract class Entity implements Serializable {

	protected String id;
	
	public final static String UTF8 = "UTF-8";
	public final static String JSON_PREFIX = "taoyige";
	
	public void setId(String id) {
		this.id=id;
	}
	
	public String getId() {
		return id;
	}

	protected String cacheKey;

	public String getCacheKey() {
		return cacheKey;
	}

	public void setCacheKey(String cacheKey) {
		this.cacheKey = cacheKey;
	}
	
	protected Notice notice;

	protected Result result;
	
	public Notice getNotice() {
		return notice;
	}

	public void setNotice(Notice notice) {
		this.notice = notice;
	}

	public Result getResult() {
		return result;
	}

	public void setResult(Result result) {
		this.result = result;
	}
	
	
	
}
